import axios from '../../axios';
const STUDENTS_URL = '/logs';

const logs = {
  //获取日志列表
  getLogs(data) {
    return axios({
      url: "/logs/getLogs",
      method: 'post',
      data,
    })
  },
  //新增日志
  addLogs(data) {
    return axios({
      url: STUDENTS_URL + '/addLogs',
      method: 'post',
      data,
    })
  },
  //修改日志数据
  setLogs(data) {
    return axios({
      url: STUDENTS_URL + '/setLogs',
      method: 'post',
      data,
    })
  },

};
export default logs